package com.youi.entity.vo;

import com.youi.entity.Goodtype;

import java.util.Date;
import java.util.List;

public class GoodsTypeVO {
    private Long id;							//ID
    private Date gmtCreated;					//创建时间
    private Integer delStatus;					//删除状态（0否 1是）
    private Date gmtModify;					    //最后修改时间
    private Long parentId;					    //父类id
    private String code;					    //类别编码
    private String name;					    //类别名称
    private String parentName;					//父类名称
    private String imgUrl;						//类别图标
    private List<Goodtype> children;            //子分类

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public List<Goodtype> getChildren() {
        return children;
    }

    public void setChildren(List<Goodtype> children) {
        this.children = children;
    }
}
